package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 坐骑、头饰购买记录
 */
@TableName("app_dressuprecord")
public class AppDressuprecord implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userid;//用户id
    private Integer dressupid;//头饰或坐骑id
    private double money;//金额
    private String message;//说明
    private Date createtime;//购买时间
    private Integer moneytype;//类型  1金币  2钻石
    private String pic;//购买人头像
    private String nick;//购买人名称
    private String phone;//购买人电话
    private String dressupname;//物品名称
    private String dressuppic;//物品头像

    private Integer state;//类型  1坐骑  2头饰

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getDressupid() {
        return dressupid;
    }

    public void setDressupid(Integer dressupid) {
        this.dressupid = dressupid;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getMoneytype() {
        return moneytype;
    }

    public void setMoneytype(Integer moneytype) {
        this.moneytype = moneytype;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDressupname() {
        return dressupname;
    }

    public void setDressupname(String dressupname) {
        this.dressupname = dressupname;
    }

    public String getDressuppic() {
        return dressuppic;
    }

    public void setDressuppic(String dressuppic) {
        this.dressuppic = dressuppic;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
